package com.fafa.yygh.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fafa.yygh.model.order.OrderInfo;
import com.fafa.yygh.vo.order.OrderCountQueryVo;
import com.fafa.yygh.vo.order.OrderCountVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author Sire
 * @version 1.0
 * @date 2022-02-23 13:09
 */
@Repository
public interface OrderInfoMapper extends BaseMapper<OrderInfo> {
    /**
     * 注意遵守spring-data名命规范
     *
     * @param orderCountQueryVo
     * @return
     */
    List<OrderCountVo> selectOrderCount(@Param("vo") OrderCountQueryVo orderCountQueryVo);
}
